home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 12984 / 12984.xpi / chrome / VideoDownloaderToolbar.jar / content / preferences.xul < prev    next >
Extensible Markup Language  |  2010-01-29  |  4KB  |  123 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://vidbar/skin/vid.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://vidbar/locale/vid.dtd" >
  6.  
  7. <dialog id="vidbar-preferences" title="Preferences" flex="1"
  8.     ondialogaccept="return com.VidBar.Preferences.doOk();" onload="com.VidBar.Preferences.onLoad()"
  9.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.     buttons="accept,cancel">
  11.  
  12.     <script type="application/x-javascript" src="chrome://vidbar/content/utils.js" />
  13.     <script type="application/x-javascript" src="chrome://vidbar/content/preferences.js" />
  14.  
  15.     <tabbox id="tabboxid" flex="1">
  16.         <tabs>
  17.             <tab label="Download" />
  18.             <tab label="Video Type" />
  19.             <tab label="Appearance" />
  20.             <!--  
  21.             <tab label="Inbox" />
  22.             -->
  23.         </tabs>
  24.         <tabpanels flex="1">
  25.             <tabpanel>
  26.                 <vbox>
  27.                     <hbox>
  28.                         <label control="max-downloads" value="Maximum Simultaneous Downloads" />
  29.                         <textbox id="max-downloads" value="0" />
  30.                         <label value="0=infinite" />
  31.                     </hbox>
  32.                     <hbox>
  33.                         <label control="min-file-size" value="Minimum Video Size (Kb)" />
  34.                         <textbox id="min-file-size" value="100" />
  35.                     </hbox>
  36.                     <hbox>
  37.                         <label control="download-location" value="Download Folder" />
  38.                         <textbox id="download-location" flex="1" />
  39.                         <button label="Browse" oncommand="com.VidBar.Preferences.changeDownloadDir()" />
  40.                     </hbox>
  41.                     <hbox>
  42.                         <label value="File name type" />
  43.                         <radiogroup id="filename-type" orient="horizontal">
  44.                             <radio id="filename-type-title" value="title" label="Use title"
  45.                                 selected="true" />
  46.                             <radio id="filename-type-standart" value="standart" label="Use type video-[N].[ext]" />                            
  47.                         </radiogroup>
  48.                     </hbox>
  49.                 </vbox>
  50.             </tabpanel>
  51.             <tabpanel>
  52.                 <vbox>
  53.                     <label value="Recognized File Extensions" />
  54.                     <hbox>
  55.                         <listbox rows="6" flex="1" id="media-extensions">
  56.                         </listbox>
  57.                     </hbox>
  58.                     <hbox>
  59.                         <textbox id="new-file-ext" width="128" value="" />
  60.                         <button label="Add" oncommand="com.VidBar.Preferences.addExt()" />
  61.                         <button label="Remove" oncommand="com.VidBar.Preferences.removeExt()" />
  62.                     </hbox>
  63.                 </vbox>
  64.             </tabpanel>
  65.             <tabpanel>
  66.                 <vbox>
  67.                     <vbox>
  68.                         <checkbox id="show-file-size" label="Show file size in menu"
  69.                             checked="false" />
  70.                         <!--
  71.                             <checkbox id="show-file-duration" label="Show file duration"
  72.                             checked="false" />
  73.                         -->
  74.                         <checkbox id="show-in-context-menu" label="Show in context menu"
  75.                             checked="true" />
  76.                     </vbox>
  77.                     <vbox>
  78.                         <label value="Layout" />
  79.                         <radiogroup id="layout-type" orient="vertical">
  80.                             <radio id="check-layout-type-toolbar" value="toolbar" 
  81.                                 label="Only Show Standalone Toolbar" checked="true" />
  82.                             <radio id="check-layout-type-button" value="button" 
  83.                                 label="Only Show Browser Toolbar Button" checked="false" />
  84.                             <radio id="check-layout-type-both" value="both" 
  85.                                 label="Show Browser Toolbar Button and Standalone Toolbar" 
  86.                                 checked="false" />
  87.                         </radiogroup>
  88.                     </vbox>
  89.                     <!--  
  90.                     <vbox>
  91.                         <label value="Icon Position" />
  92.                         <radiogroup id="icon-pos" orient="horizontal">
  93.                             <radio id="icon-pos-toolbar" value="toolbar" label="Tool Bar"
  94.                                 selected="true" />
  95.                             <radio id="icon-pos-statusbar" value="statusbar" label="Status Bar" />
  96.                             <radio id="icon-post-both" value="both" label="Both" />
  97.                         </radiogroup>
  98.                     </vbox>
  99.                     -->
  100.                     <vbox>
  101.                         <label value="Icon Style" />
  102.                         <radiogroup id="icon-style" orient="vertical">
  103.                             <radio id="check-icon-style-3d" value="3D" label="Animated"
  104.                                 selected="true" />
  105.                             <radio id="check-icon-style-std" value="Standard" label="Inert" />
  106.                         </radiogroup>
  107.                     </vbox>
  108.                 </vbox>
  109.             </tabpanel>
  110. <!--  
  111.             <tabpanel>
  112.                 <vbox>
  113.                     <label value="Inbox URL" />
  114.                     <hbox>
  115.                         <textbox id="inbox-url" width="128" value="" />
  116.                     </hbox>
  117.                 </vbox>
  118.             </tabpanel>
  119. -->
  120.         </tabpanels>
  121.     </tabbox>
  122. </dialog>
  123.